/* 
 *  javascribd - Java client library for the Scribd API. 
 *  Copyright (C) 2009 by Marcel Eyke, http://code.google.com/p/javascribd/ 
 *  Use is subject to license terms of LGPL. See license.txt. 
 */
package com.google.code.javascribd.docs;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import com.google.code.javascribd.connection.ScribdResponse;
import com.google.code.javascribd.type.ErrorType;
import com.google.code.javascribd.type.ResponseStatus;

/**
 * This class is the POJO of the response to the docs.delete Scribd request.
 * 
 * @see <a
 *      href="http://www.scribd.com/developers/api?method_name=docs.delete">docs.delete
 *      specification on Scribd.com</a>
 * 
 * @author Marcel Eyke
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "docs.delete")
@XmlRootElement(name = "rsp")
public class DeleteResponse implements ScribdResponse {
	@XmlAttribute(name = "stat")
	private ResponseStatus status;

	@XmlElement(name = "error")
	private ErrorType error;

	public ResponseStatus getStatus() {
		return status;
	}

	public ErrorType getError() {
		return error;
	}
}
